from DrissionPage import ChromiumPage
from DrissionPage_Pligin.Phone import Phone, Touch

# 实例化浏览器
page = ChromiumPage()
# 初始化成为手机
Phone(page).IphoneSe()
touch = Touch(page)
page.get("https://www.baidu.com/")
input("1")
placeholder_node = page.ele('xpath:.//div[@class="c-result result"][last()]')

print("placeholder_node",placeholder_node)
# print(placeholder_node.page)
touch.click(placeholder_node)
input("")